package org.cheniy.infrastructure.persistent.dao;

import org.apache.ibatis.annotations.Mapper;
import org.cheniy.infrastructure.persistent.po.RaffleActivitySku;

import java.util.List;

/**
 * @author cheniy
 * @description 抽奖活动sku DAO
 * @create 2025/3/16 15:05
 */

@Mapper
public interface IRaffleActivitySkuDao {

    RaffleActivitySku queryActivitySku(Long sku);

    void updateActivitySkuStock(Long sku);

    void clearActivitySkuStock(Long sku);

    List<RaffleActivitySku> queryActivitySkuListByActivityId(Long activityId);
}
